package cn.wizzer.framework.base.exceptions;
public class BizException extends RuntimeException{
    private String remand;

    public BizException(String message) {
        super(message);
        remand = message;
    }

    public BizException() {
    }


    public static BizException NEW(String message){

        BizException that = new BizException();

        that.remand = message;

        return that;
    }

    public String getRemand() {
        return remand;
    }

    @Override
    public String toString() {
        return "BizException{" +
                "remand='" + remand + '\'' +
                '}';
    }
}
